package com.hyk.service;

import com.hyk.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyk.dto.UserDto;
import com.hyk.model.ChangePasswordVo;
import com.hyk.model.UpdateUserMobileVo;

import javax.xml.bind.ValidationException;
import java.util.List;
import java.util.Map;

public interface UserService extends IService<User>{


    void updateUserAuthStatus(Long id, Byte authStatus, Long authCode, String remark);

    void authAccount(User user) throws ValidationException;

    void authUser(String[] imgas);

    void updatePhone(UpdateUserMobileVo updateUserMobileVo);

    Boolean changePassword(ChangePasswordVo changePasswordVo);

    Boolean changePayPassword(ChangePasswordVo changePasswordVo);

    Boolean rePayPassword(ChangePasswordVo changePasswordVo);

    Map<Long, UserDto> getBasicUsers(List<Long> ids,String mobile,String username);

    void register(User user) throws ValidationException;
}
